home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 2
/
Atari Mega Archive CD - Volume 2.iso
/
minix
/
up1510b.tgz
/
up1510b
/
src
/
lib
/
posix
/
pipe.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-23
|
217b
|
15 lines
#include <lib.h>
PUBLIC int pipe(fild)
int fild[2];
{
int k;
k = callm1(FS, PIPE, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
if (k >= 0) {
fild[0] = _M.m1_i1;
fild[1] = _M.m1_i2;
return(0);
} else
return(k);
}